import { LcdTheme } from "@/api/service/theme/types";

export const showForm = ref(false);

const formObj: LcdTheme = {
  themeId: "",
  themeName: "",
  groupsId: "",
  groupsIndex: 0,
  category: [],
  scale: 0,
  width: 0,
  height: 0,
  background: "",
  texture: "",
  imgSrc: "",
  videoArea: 0,
  share: "0",
  func: "",
  priority: 0,
  deptId: "",
  createTime: "",
  updateTime: null
};

export const themForm = ref<LcdTheme>({
  ...formObj
});

export const resetForm = () => {
  themForm.value = {
    ...formObj
  };
};
export const showBoard = ref(false);
